.PHONY: all clean

all: main client1

main: main.cpp
	g++ -g -std=c++11 $^ -o $@ -lpthread
client1: client1.cpp
	g++ -g -std=c++11 $^ -o $@

clean:
	rm -f main client1